package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 火化炉加油记录表Entity
 * 
 * @author generator
 * @date 2020-08-23 18:11
 */
@MyTable(value = "CremationFurnaceRefuelEntity", name = "cremation_furnace_refuel", comment = "火化炉加油记录表")
public class CremationFurnaceRefuelEntity extends BaseEntity {
    /**
     * 火化炉面分组外键
     */
    @MyColumn(value = "furnaceGroupId", name = "furnace_group_id", comment = "火化炉面分组外键")
    private Integer furnaceGroupId;

    /**
     * 追加前油表数
     */
    @MyColumn(value = "oldNumber", name = "old_number", comment = "追加前油表数", required = true)
    private BigDecimal oldNumber;

    /**
     * 追加油表数
     */
    @MyColumn(value = "refuelNumber", name = "refuel_number", comment = "追加油表数", required = true)
    private BigDecimal refuelNumber;

    /**
     * 追加后油表数
     */
    @MyColumn(value = "newNumber", name = "new_number", comment = "追加后油表数", required = true)
    private BigDecimal newNumber;

    /**
     * 追加时间
     */
    @MyColumn(value = "refuelTime", name = "refuel_time", comment = "追加时间", required = true)
    private Date refuelTime;


    public Integer getFurnaceGroupId() {
        return furnaceGroupId;
    }

    public CremationFurnaceRefuelEntity setFurnaceGroupId(Integer furnaceGroupId) {
        this.furnaceGroupId = furnaceGroupId;
        return this;
    }

    public BigDecimal getOldNumber() {
        return oldNumber;
    }

    public CremationFurnaceRefuelEntity setOldNumber(BigDecimal oldNumber) {
        this.oldNumber = oldNumber;
        return this;
    }

    public BigDecimal getRefuelNumber() {
        return refuelNumber;
    }

    public CremationFurnaceRefuelEntity setRefuelNumber(BigDecimal refuelNumber) {
        this.refuelNumber = refuelNumber;
        return this;
    }

    public BigDecimal getNewNumber() {
        return newNumber;
    }

    public CremationFurnaceRefuelEntity setNewNumber(BigDecimal newNumber) {
        this.newNumber = newNumber;
        return this;
    }

    public Date getRefuelTime() {
        return refuelTime;
    }

    public CremationFurnaceRefuelEntity setRefuelTime(Date refuelTime) {
        this.refuelTime = refuelTime;
        return this;
    }
}